package com.zhang.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhang.pojo.Article;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface ArticleMapper extends BaseMapper<Article> {

    void listInsert(List<Article> articleList);

    //清空指定表
    @Update("truncate table tb_user")
    void deleteAllArticle();
}
